﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="/support/alpha/style.css" />
	<link rel="stylesheet" href="/support/common/jquery-ui.css" type="text/css" />
	<link rel="stylesheet" href="/support/common/impromptu.css" type="text/css" />
	<script type="text/javascript"" src="/support/common/common.js"></script>
	<script type="text/javascript"" src="/support/common/jquery.js"></script>
	<script type="text/javascript"" src="/support/common/impromptu.js"></script>
	<script type="text/javascript"" src="/support/common/ui.core.js"></script>
	<script type="text/javascript"" src="/support/common/ui.datepicker.js"></script>
	<script type="text/javascript"" src="/support/common/ui.datepicker-zh-CN.js"></script>
	<style>
	    td { text-align:left } 
	    table { line-height:25px }
	</style>
</head>
<body>
    <div style="text-align:left">
        <div>{TrmData.Name} - {TrmData.GeneralName}</div>
        <div>最近开始使用时间：{TrmHistoryData.StartDate.ToString("yyyy-MM-dd")}</div>
    </div>
    <input type="hidden" name="trmid" value={_treamentOrPrescriptionId}>
    <table>
        <tbody>
         <tr>
            <td class="table-box-left">停止日期</td>
            <td >
                 <input class="box-var validate-date" id="enddate" maxlength="10" size="10" name="enddate" style="vertical-align:middle;"/>
                        <em class="helptext">格式：年-月-日(1970-03-08)</em>
            </td>
        </tr>
        <tr valign="top">
             <td class="table-box-left">停止原因</td>
             <td >
               <select name="stopreason" id="stopreason">
                    <%csharp%>for(int i=0; i < Constants.TreatmentStopReason.Length; i++) { <%/csharp%>
                        <option value="{i}">{Constants.TreatmentStopReason[i]}</option>
                    <%csharp%> } <%/csharp%>
                </select>
             </td>
        </tr>
        <tr>
            <td class="table-box-left"></td>
            <td > 
                <span class="btn-min">
                    <a href="javascript:StopTreatment('{_treamentOrPrescriptionId}');" >提交</a>
                </span>
            </td>
        </tr>   
        </tbody>
    </table>
    <script type="text/javascript" src="/support/Alpha/Js/treatmenthistory/historystop.js"></script>  
</body>
</html>   